package com.goldenlight.fvms.manager.excelentity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.io.Serializable;
@ExcelTarget("carApplyExcelEntity")
public class CarApplyExcelEntity implements Serializable {

    private String id;

    @Excel(name = "车牌号", height = 20, width = 30, isImportField = "carNum")
    private String carNum;
    @Excel(name = "厂牌", height = 20, width = 30, isImportField = "carLabel")
    private String carLabel;
    @Excel(name = "车牌颜色", height = 20, width = 30, isImportField = "carColor")
    private String carColor;
    @Excel(name = "收费车型", height = 20, width = 30, isImportField = "carModel")
    private String carModel;
    @Excel(name = "申请单位", height = 20, width = 30, isImportField = "applicantUnit")
    private String applicantUnit;
    @Excel(name = "行驶本登记单位", height = 20, width = 30, isImportField = "carDriveRegist")
    private String carDriveRegist;
    @Excel(name = "通行区间", height = 20, width = 30, isImportField = "carFixedSite")
    private String carFixedSite;
    @Excel(name = "业务类型", height = 20, width = 30, isImportField = "carBussType")
    private String carBussType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarLabel() {
        return carLabel;
    }

    public void setCarLabel(String carLabel) {
        this.carLabel = carLabel;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getApplicantUnit() {
        return applicantUnit;
    }

    public void setApplicantUnit(String applicantUnit) {
        this.applicantUnit = applicantUnit;
    }

    public String getCarDriveRegist() {
        return carDriveRegist;
    }

    public void setCarDriveRegist(String carDriveRegist) {
        this.carDriveRegist = carDriveRegist;
    }

    public String getCarFixedSite() {
        return carFixedSite;
    }

    public void setCarFixedSite(String carFixedSite) {
        this.carFixedSite = carFixedSite;
    }

    public String getCarBussType() {
        return carBussType;
    }

    public void setCarBussType(String carBussType) {
        this.carBussType = carBussType;
    }

    public String getCondition() {
        return this.getCarNum()+"-"+this.getApplicantUnit();
    }

    @Override
    public String toString() {
        return "CarApplyExcelEntity{" +
                "id='" + id + '\'' +
                ", carNum='" + carNum + '\'' +
                ", carLabel='" + carLabel + '\'' +
                ", carColor='" + carColor + '\'' +
                ", carModel='" + carModel + '\'' +
                ", applicantUnit='" + applicantUnit + '\'' +
                ", carDriveRegist='" + carDriveRegist + '\'' +
                ", carFixedSite='" + carFixedSite + '\'' +
                ", carBussType='" + carBussType + '\'' +
                '}';
    }
}
